#pragma once

class Time {
public:
    static float deltaTime;
    static void UpdateTime(float time) {
        deltaTime = time - lastTime;
        lastTime = time;
    }
private:
    static float lastTime;
};
float Time::deltaTime = 0.0f;
float Time::lastTime = 0.0f;